<html xmlns:th="http://www.thymeleaf.org">
    <th:block th:fragment="goods_gallery">
    
<!-- {if $pictures}-->
 <div class="picture" id="imglist">
		
             <!-- {foreach from=$pictures item=picture name=no}-->
             
             <!-- {if $smarty.foreach.no.iteration < 2}  -->
            
           <a  th:href="${picture.img_url}"
    	rel="zoom1" 
        rev=""
        th:attr="title=${picture.img_desc}">
        <img src="{if $picture.thumb_url}{else}{/if}" th:attr="alt=${goods.goods_name}" class="onbg" /></a>
           <!-- {else}-->
  <a  th:href="${picture.img_url}"
    	rel="zoom1" 
        rev=""
        th:attr="title=${picture.img_desc}">
        <img src="{if $picture.thumb_url}{else}{/if}" th:attr="alt=${goods.goods_name}" class="autobg" /></a>
          <!-- {/if}-->
            <!--{/foreach}-->
           
</div>
 
<!-- {/if}-->
<script type="text/javascript">
	mypicBg();
</script>
    </th:block>
</html>